package com.lianzai.mobile.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class IndexController {

    @RequestMapping("/mobile/index")
    public ModelAndView mobileIndex(HttpServletRequest request, HttpServletResponse response) {
        return new ModelAndView("wechat/index");
    }

    @RequestMapping("/mobile/order/success")
    public ModelAndView mobileOrderSuccess(HttpServletRequest request, HttpServletResponse response) {
        return new ModelAndView("wechat/orderSuccess");
    }
}
